import React from "react";
import ReactDOM from "react-dom";
// import LayOut from "./LayOut";
import App from "./App";
import "antd/dist/antd.css";

// 确定路由的模式，hash 【hashchange】 / history【popstate + history Api】   称为  HashRouter / BrowserRouter
// import { HashRouter as Router } from "react-router-dom"
import { BrowserRouter as Router } from "react-router-dom"; //  另一个 模式

ReactDOM.render(
  <React.StrictMode>
    <Router>
      <App />
    </Router>

    {/* <TodoList /> */}
    {/* <LayOut /> */}
    {/* <Ceshi></Ceshi> */}
  </React.StrictMode>,
  document.getElementById("root")
);
